package com.molichuxing.services.infrastructure.dao;

import com.molichuxing.framework.dao.RootMapper;
import com.molichuxing.services.infrastructure.bean.OrderDeliveryBean;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderDeliveryMapper extends RootMapper<OrderDeliveryBean> {

    /**
     * 根据订单号查询订单交车信息
     *
     * @param orderCode 订单号
     * @return
     */
    OrderDeliveryBean getByOrderCode(@Param("orderCode") Long orderCode);

    List<OrderDeliveryBean> getByOrderCodes(@Param("orderCodes") List<Long> orderCodes);
}